package com.lijj.activiti.entity;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.ExecutionListener;
import org.activiti.engine.delegate.Expression;

public class ExecutionListenerInvocation implements ExecutionListener {
	private Expression message;

	public void setMessage(Expression message) {
		this.message = message;
	}

	public void notify(DelegateExecution execution) throws Exception {
           System.out.println("流程监听器："+message.getValue(execution));
	}

}
